/**
 * Copyright (C), 2017-2018, XXX有限公司
 * FileName: Test
 * Author:   zengjian
 * Date:     2018/7/30 17:04
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package fun.codedesign.principle.pattern33.a025.visitor;

/**
 * 〈〉<br>
 * 〈一句话描述〉
 *
 * @author zengjian
 * @create 2018/7/30 17:04
 */
public class Test {

    public static void main(String[] args) {
        Subject a = new ASubject();
        a.accept(new DefaultVisitor());

        Subject b = new BSubject();
        b.accept(new DefaultVisitor());


        Subject c = new CSubject();
        c.accept(new DefaultVisitor());

        Subject d = new DSubject();
        d.accept(new DefaultVisitor());
    }

}